﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;

namespace Idlesoft.Utils
{
	public static class CollectionExtensions
	{
		public static Match[] ToArray(this MatchCollection collection)
		{
			var matches = new Match[collection.Count];
			collection.CopyTo(matches, 0);
			return matches;
		}
	}
}
